/**********************************************************************
 * FILE : ProcessConfig.java
 * CREATE DATE : 2011-11-25
 * DESCRIPTION :
 *		
 *      
 * CHANGE HISTORY LOG
 *---------------------------------------------------------------------
 * NO.|    DATE    |     NAME     |     REASON     | DESCRIPTION
 *---------------------------------------------------------------------
 * 1  | 2011-11-25 |  Sting  |    创建草稿版本
 *---------------------------------------------------------------------              
 **********************************************************************
 */
package com.sgm.de.benchmark;

import java.util.ArrayList;

/**
 * @author Sting<p>
 * TODO 这里描述该类的主要作用，以及使用时需要注意的事项
 */
public class ProcessConfig {

    private String agentIp;
    private String jmsServerIp;
    private int jmsServerPort;
    private String jmsFacName;
    private String queueName;
    private String processorIp;
    private int processorPort;
    private int messageSize;
    private int interval;
    private BKCode worktype;
    private String wlsUserName;
    private String wlsPassword;
    private int messageMixed;
    private int threadQuantitylimit;

    public ProcessConfig() {
    }

    /**
     * @param agentIp
     * @param processorIp
     * @param jmsServerIp
     * @param jmsServerPort
     * @param jmsFacName
     * @param queueName
     */
    public ProcessConfig(String agentIp, String processorIp, int processorPort, String jmsServerIp,
            int jmsServerPort, String jmsFacName, String queueName, String wlsUserName, String wlsPassword) {
        this.agentIp = agentIp;
        this.processorIp = processorIp;
        this.wlsUserName = wlsUserName;
        this.wlsPassword = wlsPassword;
        this.setProcessorPort(processorPort);
        this.jmsServerIp = jmsServerIp;
        this.jmsServerPort = jmsServerPort;
        this.jmsFacName = jmsFacName;
        this.queueName = queueName;
    }

    /**
     * @return the agentIp
     */
    public String getAgentIp() {
        return agentIp;
    }

    /**
     * @return the jmsServerIp
     */
    public String getJmsServerIp() {
        return jmsServerIp;
    }

    /**
     * @param agentIp the agentIp to set
     */
    public void setAgentIp(String agentIp) {
        this.agentIp = agentIp;
    }

    /**
     * @param jmsServerIp the jmsServerIp to set
     */
    public void setJmsServerIp(String jmsServerIp) {
        this.jmsServerIp = jmsServerIp;
    }

    /**
     * @param jmsServerPort the jmsServerPort to set
     */
    public void setJmsServerPort(int jmsServerPort) {
        this.jmsServerPort = jmsServerPort;
    }

    /**
     * @param jmsFacName the jmsFacName to set
     */
    public void setJmsFacName(String jmsFacName) {
        this.jmsFacName = jmsFacName;
    }

    /**
     * @param queueName the queueName to set
     */
    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    /**
     * @return the jmsServerPort
     */
    public int getJmsServerPort() {
        return jmsServerPort;
    }

    /**
     * @return the jmsFacName
     */
    public String getJmsFacName() {
        return jmsFacName;
    }

    /**
     * @return the queueName
     */
    public String getQueueName() {
        return queueName;
    }

    /**
     * @return the processorIp
     */
    public String getProcessorIp() {
        return processorIp;
    }

    /**
     * @param processorIp the processorIp to set
     */
    public void setProcessorIp(String processorIp) {
        this.processorIp = processorIp;
    }

    /**
     * @return the messageSize
     */
    public int getMessageSize() {
        return messageSize;
    }

    /**
     * @param messageSize the messageSize to set
     */
    public void setMessageSize(int messageSize) {
        this.messageSize = messageSize;
    }

    public int getProcessorPort() {
        return processorPort;
    }

    public void setProcessorPort(int processorPort) {
        this.processorPort = processorPort;
    }

    public String getWlsUserName() {
        return wlsUserName;
    }

    public void setWlsUserName(String wlsUserName) {
        this.wlsUserName = wlsUserName;
    }

    public String getWlsPassword() {
        return wlsPassword;
    }

    public void setWlsPassword(String wlsPassword) {
        this.wlsPassword = wlsPassword;
    }

    public int getInterval() {
        return interval;
    }

    public void setInterval(int interval) {
        this.interval = interval;
    }

    public BKCode getWorktype() {
        return worktype;
    }

    public void setWorktype(BKCode worktype) {
        this.worktype = worktype;
    }

    public int getMessageMixed() {
        return messageMixed;
    }

    public void setMessageMixed(int messageMixed) {
        this.messageMixed = messageMixed;
    }

    public int getThreadQuantitylimit() {
        return threadQuantitylimit;
    }

    public void setThreadQuantitylimit(int threadQuantitylimit) {
        this.threadQuantitylimit = threadQuantitylimit;
    }
}
